﻿@model System.Collections.Generic.IEnumerable<xiushen.Domain.Category>
@{
    ViewBag.Title = "视频列表";
 }
@foreach(var data in Model)
{
    var videos = data.Videos;
    <div class="row alert margin-top">
        
        <div class="span2"><strong>@data.Name</strong></div>
        <div class="span2"><a href="@Url.Action("MoreBooks", new { categoryId = data.ID})">查看更多</a></div>
    </div>
@*    <span class="dashLine"></span>*@
    <div class="row margin-top">
        @foreach (var v in videos)
        {
   
            <div class="span2">
                <div class="videolist">
                      <a href="@Url.Action("ViewVideos", new { categoryId = v.CategoryID, id = v.ID })">
                    <img src="@v.PicURL"/> 
                </a> 
               <div class="stitle">  <a href="@Url.Action("ViewVideos", new { categoryId = v.CategoryID, id = v.ID })">@v.Name   </a> </div> 
                </div>
              
            </div>
        }
    </div>
}